<%@ page import="aiball.UserAccount" %>
		<g:set var="entityName" value="${message(code: 'userAccount.label', default: 'UserAccount')}" />

		<div id="show-userAccount" class="content scaffold-show" role="main">
				<!-- Team-Feld nur anzeigen, wenn Team nicht DefaultTeam -->
				<table style="font-size: x-small; text-align: left; vertical-align:bottom;">
				<tr><td>
				<g:link controller="userAccount" class="show" action="edit" id="${userAccountInstance?.id}"><img title="Bearbeiten" src='${resource(dir: 'images/icons', file: 'vcard_edit.png', plugin: 'famfamfam')}'/>Account bearbeiten</g:link>
				</td><td>
				<g:link controller="logout" action="index"><img src='${resource(dir: 'images/icons', file: 'vcard_delete.png', plugin: 'famfamfam')}'/>Logout</g:link>
				</td></tr>
				<tr><td>
				<g:link controller="team" action="show" id="${userAccountInstance?.team?.id}"><img src='${resource(dir: 'images/icons', file: 'group.png', plugin: 'famfamfam')}'/>${userAccountInstance?.team?.name.encodeAsHTML()}</g:link>
				</td><td><g:link controller="team" class="show" action="edit" id="${userAccountInstance?.id}"><img title="Bearbeiten" src='${resource(dir: 'images/icons', file: 'group_edit.png', plugin: 'famfamfam')}'/>Bearbeiten</g:link>
				</td></tr>
				<tr><td>
		        <g:link controller="player" action="show" id="${userAccountInstance?.team?.player1?.id}"><img src='${resource(dir: 'images/icons', file: 'user.png', plugin: 'famfamfam')}'/>${userAccountInstance?.team?.player1?.name.encodeAsHTML()}</g:link>
				</td><td><g:link controller="player" class="show" action="edit" id="${userAccountInstance?.team?.player1?.id}"><img title="Bearbeiten" src='${resource(dir: 'images/icons', file: 'user_edit.png', plugin: 'famfamfam')}'/>Bearbeiten</g:link>
				</td></tr>
				<tr><td>
				<g:link controller="player" action="show" id="${userAccountInstance?.team?.player2?.id}"><img src='${resource(dir: 'images/icons', file: 'user.png', plugin: 'famfamfam')}'/>${userAccountInstance?.team?.player2?.name.encodeAsHTML()}</g:link>
				</td><td><g:link controller="player" class="show" action="edit" id="${userAccountInstance?.team?.player2?.id}"><img title="Bearbeiten" src='${resource(dir: 'images/icons', file: 'user_edit.png', plugin: 'famfamfam')}'/>Bearbeiten</g:link>
				</td></tr>
				<tr><td>
				<g:link controller="player" action="show" id="${userAccountInstance?.team?.player3?.id}"><img src='${resource(dir: 'images/icons', file: 'user.png', plugin: 'famfamfam')}'/>${userAccountInstance?.team?.player3?.name.encodeAsHTML()}</g:link>
				</td><td><g:link controller="player" class="show" action="edit" id="${userAccountInstance?.team?.player3?.id}"><img title="Bearbeiten" src='${resource(dir: 'images/icons', file: 'user_edit.png', plugin: 'famfamfam')}'/>Bearbeiten</g:link>
				</td></tr>
				<tr><td>
				<g:link controller="player" action="show" id="${userAccountInstance?.team?.player4?.id}"><img src='${resource(dir: 'images/icons', file: 'user.png', plugin: 'famfamfam')}'/>${userAccountInstance?.team?.player4?.name.encodeAsHTML()}</g:link>
				</td><td><g:link controller="player" class="show" action="edit" id="${userAccountInstance?.team?.player4?.id}"><img title="Bearbeiten" src='${resource(dir: 'images/icons', file: 'user_edit.png', plugin: 'famfamfam')}'/>Bearbeiten</g:link>
				</td></tr>
				<tr><td>
				<g:link controller="player" action="show" id="${userAccountInstance?.team?.player5?.id}"><img src='${resource(dir: 'images/icons', file: 'user.png', plugin: 'famfamfam')}'/>${userAccountInstance?.team?.player5?.name.encodeAsHTML()}</g:link>
				</td><td><g:link controller="player" class="show" action="edit" id="${userAccountInstance?.team?.player5?.id}"><img title="Bearbeiten" src='${resource(dir: 'images/icons', file: 'user_edit.png', plugin: 'famfamfam')}'/>Bearbeiten</g:link>
				</td></tr>
				</table>
		</div>